package com.weiyuwqj.api.service;

import com.weiyuwqj.api.base.BaseService;
import com.weiyuwqj.api.common.PageList;
import com.weiyuwqj.api.common.Paginator;
import com.weiyuwqj.api.model.BusBonusRebate;
import com.weiyuwqj.api.model.vo.BusBonusRebateVo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by huzj on 2016/11/29.
 */
public interface BusBonusRebateService extends BaseService<BusBonusRebate>{

    Map updateStatus(String orderId, Integer oldStatus, Integer newStatus);

    PageList getList(Paginator p, Map map);

    List<BusBonusRebateVo> getList(Map map);

//    //平台转个人
//    Map transferPlatform2Person(Integer toId, BigDecimal amount, String password, Integer causeType);
//
//    //平台各账户互转
//    Map platformAccountTransfer(Integer fromType, Integer toType, BigDecimal amount, String password);
}
